package com.zhentao.controller;

import cn.binarywang.wx.miniapp.bean.WxMaUserInfo;
import com.zhentao.common.dtos.ResponseResult;
import com.zhentao.service.AppUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/wx/userInfo")
public class AppUserInfoController {

    @Autowired
    private AppUserInfoService appUserInfoService;


    @GetMapping("getUserInfo")
    public ResponseResult getUserInfo(@RequestParam("id")Integer id){
        return appUserInfoService.getUserInfo(id);
    }

}
